package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.DispatchWaterQualityIndicatorAbnormalRatioStats;

/**
 * 水质指标异常占比统计Mapper接口
 * 
 * @author ruoyi
 * @date 2025-03-02
 */
public interface DispatchWaterQualityIndicatorAbnormalRatioStatsMapper 
{
    /**
     * 查询水质指标异常占比统计
     * 
     * @param waterQualityIndicatorAbnormalRatioStatsId 水质指标异常占比统计主键
     * @return 水质指标异常占比统计
     */
    public DispatchWaterQualityIndicatorAbnormalRatioStats selectDispatchWaterQualityIndicatorAbnormalRatioStatsByWaterQualityIndicatorAbnormalRatioStatsId(Long waterQualityIndicatorAbnormalRatioStatsId);

    /**
     * 查询水质指标异常占比统计列表
     * 
     * @param dispatchWaterQualityIndicatorAbnormalRatioStats 水质指标异常占比统计
     * @return 水质指标异常占比统计集合
     */
    public List<DispatchWaterQualityIndicatorAbnormalRatioStats> selectDispatchWaterQualityIndicatorAbnormalRatioStatsList(DispatchWaterQualityIndicatorAbnormalRatioStats dispatchWaterQualityIndicatorAbnormalRatioStats);

    /**
     * 新增水质指标异常占比统计
     * 
     * @param dispatchWaterQualityIndicatorAbnormalRatioStats 水质指标异常占比统计
     * @return 结果
     */
    public int insertDispatchWaterQualityIndicatorAbnormalRatioStats(DispatchWaterQualityIndicatorAbnormalRatioStats dispatchWaterQualityIndicatorAbnormalRatioStats);

    /**
     * 修改水质指标异常占比统计
     * 
     * @param dispatchWaterQualityIndicatorAbnormalRatioStats 水质指标异常占比统计
     * @return 结果
     */
    public int updateDispatchWaterQualityIndicatorAbnormalRatioStats(DispatchWaterQualityIndicatorAbnormalRatioStats dispatchWaterQualityIndicatorAbnormalRatioStats);

    /**
     * 删除水质指标异常占比统计
     * 
     * @param waterQualityIndicatorAbnormalRatioStatsId 水质指标异常占比统计主键
     * @return 结果
     */
    public int deleteDispatchWaterQualityIndicatorAbnormalRatioStatsByWaterQualityIndicatorAbnormalRatioStatsId(Long waterQualityIndicatorAbnormalRatioStatsId);

    /**
     * 批量删除水质指标异常占比统计
     * 
     * @param waterQualityIndicatorAbnormalRatioStatsIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDispatchWaterQualityIndicatorAbnormalRatioStatsByWaterQualityIndicatorAbnormalRatioStatsIds(Long[] waterQualityIndicatorAbnormalRatioStatsIds);
}
